<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.onlineMIS.ORM.entity.headQ.user.UserInfor"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的任务</title>
<%@ include file="../common/Style.jsp"%>

<!-- <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/conf_files/font-awesome/4.7.0/css/font-awesome.min.css"> -->
<style>
 /*导航栏字体颜色*/
.sidemenu .accordion .panel-title{
    color: rgb(191,203,217);
}
/*默认颜色*/
.sidemenu .accordion .accordion-header{
    background: rgb(48,65,86);
    color: rgb(191,203,217);
}
/*子菜单背景颜色*/
.sidemenu .accordion .accordion-body{
    background: rgb(31,45,61);
    color: rgb(191,203,217);
}
 /*导航栏选中后高亮颜色*/
.sidemenu .accordion .accordion-header-selected{
    background: rgb(48,65,86);
}
.sidemenu .accordion .accordion-collapse{
    background: transparent;
}
.sidemenu .tree-node-hover{
    background: rgb(48,65,86);
    color: rgb(191,203,217);
}
.sidemenu .tree-node-selected{
    background: rgb(0,21,40);
    color: rgb(191,203,217);
}
.sidemenu .accordion-header .panel-icon{
    font-size: 16px;
}
.sidemenu .accordion-header .panel-tool{
    display: none;
}
.sidemenu .accordion-header::after,
.sidemenu .tree-node-nonleaf::after{
    display: inline-block;
    vertical-align: top;
    border-style: solid;
    transform:rotate(45deg);
    width: 4px;
    height: 4px;
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
    border-width: 0 1px 1px 0;
}
.sidemenu .accordion-header-selected::after{
    transform:rotate(-135deg);
}
.sidemenu .tree-node-nonleaf::after{
    transform:rotate(-135deg);
}
.sidemenu .tree-node-nonleaf-collapsed::after{
    transform:rotate(45deg);
}
.sidemenu-collapsed .accordion-header::after{
    display: none;
}
.sidemenu-tooltip .accordion{
    border-color: #1e282c;
}
</style>

<script>

$(document).ready(function(){
	parent.$.messager.progress('close'); 
	
});

var index_tabsMenu;
function reload() {
	parent.$.messager.progress({
		text : '数据处理中，请稍后....'
	});
	var index_tabs = $("#indexTab");
	var href = index_tabs.tabs('getSelected').panel('options').href;
	if (href) {/*说明tab是以href方式引入的目标页面*/
		var index = index_tabs.tabs('getTabIndex', index_tabs.tabs('getSelected'));
		index_tabs.tabs('getTab', index).panel('refresh');
	} else {/*说明tab是以content方式引入的目标页面*/
		var panel = index_tabs.tabs('getSelected').panel('panel');
		var frame = panel.find('iframe');
		try {
			if (frame.length > 0) {
				for ( var i = 0; i < frame.length; i++) {
					frame[i].contentWindow.document.write('');
					frame[i].contentWindow.close();
					frame[i].src = frame[i].src;
				}
				if (navigator.userAgent.indexOf("MSIE") > 0) {// IE特有回收内存方法
					try {
						CollectGarbage();
					} catch (e) {
					}
				}
			} else 
				parent.$.messager.progress('close'); 
		} catch (e) {
		}
	}
}

var data = [{
    text: '系统管理',
    iconCls: 'icon-man',
    state: 'open',
    children: [{
        text: '系统菜单'
    },{
        text: '角色管理'
    },{
        text: '店铺管理'
    }]
},{
    text: '采购管理',
    iconCls: 'icon-man',
    selected: true,
    children: [{
        text: '采购销售'
    },{
        text: '采购退货'
    }]
},{
    text: '销售管理',
    iconCls: 'icon-man',
    children: [{
        text: '销售录入'
    },{
        text: '销售退货'
    },{
        text: '销售赠送'
    }]
}];



function toggle(){
    var opts = $('#sm').sidemenu('options');
    $('#sm').sidemenu(opts.collapsed ? 'expand' : 'collapse');
    opts = $('#sm').sidemenu('options');
    $('#sm').sidemenu('resize', {
        width: opts.collapsed ? 60 : 200
    })
}
</script>

</head>
<body class="easyui-layout">
	<div
		data-options="region:'north',title:'North Title',split:false,border:false,noheader:true"
		style="height: 35px; overflow: hidden;">
		<%@ include file="include/Header.jsp"%>
	</div>
	<div data-options="region:'west',title:'功能导航',split:false,border:false"
		style="width: 180px; overflow: hidden;">
		<%@ include file="layout/West.jsp"%>
		<!-- <div id="sm" class="easyui-sidemenu" data-options="data:data,border:true"> -->
		
</div>
	</div>
	<div
		data-options="region:'center',title:'欢迎使用千禧宝贝信息系统',tools: [{  
        iconCls:'icon-reload',  
        handler:function(){reload();}  
    }] ">
		<%@ include file="layout/Center.jsp"%>
	</div>
</body>
</html>